﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Stala
{
	public static class StalaFactory
	{
		public static IVersionFinder<Version> GetSimpleVersionFinder(Uri versionSource)
		{
			return new SimpleVersionFinder(versionSource);
		}

		public static IVersionDownloader GetSimpleVersionDownloader(Uri source, Uri destination)
		{
			return new SimpleVersionDownloader(source, destination);
		}

		public static IVersionInstaller GetSimpleVersionInstaller(Uri packagePath)
		{
			return new SimpleVersionInstaller(packagePath);
		}
	}
}
